package com.module.admin.rest.service;

import org.springframework.stereotype.Component;

import com.module.admin.rest.pojo.RestServer;
import com.system.handler.model.ResponseFrame;

/**
 * rest_server的Service
 * @author yuejing
 * @date 2016-12-23 16:43:04
 * @version V1.0.0
 */
@Component
public interface RestServerService {
	
	/**
	 * 保存
	 * @param serverAddress
	 * @return
	 */
	public ResponseFrame save(String serverAddress);
	
	/**
	 * 根据rsId获取对象
	 * @param rsId
	 * @return
	 */
	public RestServer get(Integer rsId);

	/**
	 * 分页获取对象
	 * @param restServer
	 * @return
	 */
	public ResponseFrame pageQuery(RestServer restServer);
	
	/**
	 * 根据rsId删除对象
	 * @param rsId
	 * @return
	 */
	public ResponseFrame delete(Integer rsId);
}
